package com.dhu719.label_end.service;

import com.dhu719.label_end.domain.Patient;
import com.dhu719.label_end.mapper.PatientMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class PatientService {
    @Autowired
    private PatientMapper patientMapper;

    public List<Patient> findPatient(String id){
        return patientMapper.select(id);
    }
}
